package com.guigu.gulicommon.constant;

/**
 * 检查参数常量类
 *
 * @author 陈俊杰
 * @version 1.0
 * @since 2024/8/17 20:27
 */
public class CheckParametersConstant {
    //页码不能为空提示消息
    public static final String PAGE_NUM_CANNOT_BE_NULL = "页码不能为空";
    //页码最小值
    public static final long PAGE_NUM_MIN_VALUE = 1L;
    //页码最大值
    public static final long PAGE_NUM_MAX_VALUE = 1000000L;
    //页码默认值
    public static final long PAGE_NUM_DEFAULT_VALUE = 1L;
    //页码超过指定大小提示消息
    public static final String PAGE_NUM_OUT_OF_BOUNDS = "页码最小为第" + PAGE_NUM_MIN_VALUE + "页,最大为" + PAGE_NUM_MAX_VALUE + "页";
    //分页大小不能为空提示消息
    public static final String PAGE_SIZE_CANNOT_BE_NULL = "分页大小不能为空";
    //分页大小最小值
    public static final long PAGE_SIZE_MIN_VALUE = 1L;
    //分页大小最大值
    public static final long PAGE_SIZE_MAX_VALUE = 1000000L;
    //分页大小默认值
    public static final long PAGE_SIZE_DEFAULT_VALUE = 20L;

    //分页大小超过指定大小提示消息
    public static final String PAGE_SIZE_OUT_OF_BOUNDS = "分页大小最小为" + PAGE_SIZE_MIN_VALUE + "条数据,最大为" + PAGE_SIZE_MAX_VALUE + "条数据";
    //支付方式中文
    public static final String PAY_TYPES_CHINESE = "支付方式";
    //用户订单防冲令牌不能为空提示消息
    public static final String ORDER_TOKEN_CANNOT_BE_NULL = "订单防冲令牌不能为空";
    // 订单ID不能为空提示消息
    public static final String ORDER_ID_CANNOT_BE_NULL = "订单ID不能为空";
    //单次批量操作订单Id的最小数量
    public static final int BATCH_ORDER_IDS_MIN_SIZE = 1;
    //单次批量操作订单Id的最大数量
    public static final int BATCH_ORDER_IDS_MAX_SIZE = 1000;
    //单次批量操作订单Id数量超出范围提示消息
    public static final String BATCH_ORDER_IDS_SIZE_OUT_OF_BOUNDS = "单次操作订单数量应为" + BATCH_ORDER_IDS_MIN_SIZE + "至" + BATCH_ORDER_IDS_MAX_SIZE + "个之间";
    // 订单号不能为空提示消息
    public static final String ORDER_SN_CANNOT_BE_NULL = "订单号不能为空";
    // 商品名称最小长度
    public static final int SPU_NAME_MIN_LENGTH = 1;
    // 商品名称最大长度
    public static final int SPU_NAME_MAX_LENGTH = 100;
    //商品名称长度超出范围提示消息
    public static final String SPU_NAME_LENGTH_OUT_OF_BOUNDS = "商品名称长度应为" + SPU_NAME_MIN_LENGTH + "到" + SPU_NAME_MAX_LENGTH + "位字符";
    // 商品图片最小长度
    public static final int SPU_PIC_MIN_LENGTH = 1;
    // 商品图片最大长度
    public static final int SPU_PIC_MAX_LENGTH = 200;
    //商品图片长度超出范围提示消息
    public static final String SPU_PIC_LENGTH_OUT_OF_BOUNDS = "商品图片长度应为位";
    // 品牌名称最小长度
    public static final int SPU_BRAND_MIN_LENGTH = 1;
    // 品牌名称最大长度
    public static final int SPU_BRAND_MAX_LENGTH = 50;
    // 品牌名称长度超出范围提示消息
    public static final String SPU_BRAND_LENGTH_OUT_OF_BOUNDS = "品牌名称长度应为" + SPU_BRAND_MIN_LENGTH + "至+" + SPU_BRAND_MAX_LENGTH + "位字符";
    // 商品ID不能为空提示消息
    public static final String SKU_ID_CANNOT_BE_NULL = "商品SkuId不能为空";
    // 单款商品名称最小长度
    public static final int SKU_NAME_MIN_LENGTH = 1;
    // 单款商品名称最大长度
    public static final int SKU_NAME_MAX_LENGTH = 100;
    //单款商品名称长度超出范围提示消息
    public static final String SKU_NAME_LENGTH_OUT_OF_BOUNDS = "单款商品名称长度应为" + SKU_NAME_MIN_LENGTH + "至" + SKU_NAME_MAX_LENGTH + "位字符";
    //单款商品购买数量不能为空消息提示
    public static final String SKU_PURCHASE_COUNT_CANNOT_BE_NULL = "商品购买数量不能为空";
    //单款商品购买数量最小值
    public static final long SKU_PURCHASE_COUNT_MIN_VALUE = 1L;
    //单款商品购买数量最大值
    public static final long SKU_PURCHASE_COUNT_MAX_VALUE = 10000L;
    //单款商品购买数量超过指定大小消息提示
    public static final String SKU_PURCHASE_COUNT_OUT_OF_BOUNDS = "单款商品购买数量最少为" + SKU_PURCHASE_COUNT_MIN_VALUE + ",最多为" + SKU_PURCHASE_COUNT_MAX_VALUE;
    //地址ID不能为空消息提示
    public static final String ADDRESS_ID_CANNOT_BE_NULL = "地址ID不能为空";
    //单款商品销售属性不能为空消息提示
    public static final String SKU_ATTRS_VALS_CANNOT_BE_NULL = "单款商品销售属性不能为空";
    //商品ID不能为空消息提示
    public static final String SPU_ID_CANNOT_BE_NULL = "商品ID不能为空";
    //商品名称不能为空消息提示
    public static final String SPU_NAME_CANNOT_BE_NULL = "商品名称不能为空";
    //商品图片不能为空消息提示
    public static final String SPU_PIC_CANNOT_BE_NULL = "商品图片不能为空";
    //商品品牌不能为空消息提示
    public static final String SPU_BRAND_CANNOT_BE_NULL = "商品品牌不能为空";
    //商品分类ID不能为空消息提示
    public static final String CATEGORY_ID_CANNOT_BE_NULL = "商品分类ID不能为空";
    //单款商品名称不能为空消息提示
    public static final String SKU_NAME_CANNOT_BE_NULL = "单款商品名称不能为空";
    //单款商品图片不能为空消息提示
    public static final String SKU_PIC_CANNOT_BE_NULL = "单款商品图片不能为空";
    //单款商品价格不能为空消息提示
    public static final String SKU_PRICE_CANNOT_BE_NULL = "单款商品价格不能为空";
    //订单项ID不能为空提示消息
    public static final String ORDER_ITEM_ID_CANNOT_BE_NULL = "订单项ID不能为空";
    //MQ消息ID不能为空提示消息
    public static final String MQ_MESSAGE_ID_CANNOT_BE_NULL = "MQ消息ID不能为空";
    //商品ID不能为空提示消息
    public static final String SUP_ID_CANNOT_BE_NULL = "商品ID不能为空";
    //购物车商品不能为空消息提示
    public static final String CART_ITEMS_CANNOT_BE_NULL = "购物车商品不能为";
}
